﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="GoCheck.aspx.cs" Inherits="EWMSWeb.Hardware.GoCheck" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
   <style type="text/css">
        .style2
       {
           width: 157px;
       }
    </style>
    <script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>

    <script type="text/javascript" src="/JS/Hard/GoCheck.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
  <h2>送检控制表</h2>
  <a id="btnnew">新增</a>
<br />
<div id="divnew"  style="display:none;">
<table id="tabnew" style="width:1024px;;">
    
    <tr>
        <td style="width:15%; height:25px; text-align: right;">
            load:
        </td>
        <td style="width:35%; text-align: left;">
            <input id="txtload"/>
        </td>
         <td style="width:15%; text-align: right;">
            cjo:
        </td>
        <td style="width:35%; text-align: left;">
            <input id="txtcjo"/>
        </td>
    </tr>
    <tr>
        <td style="width:15%; height:25px; text-align: right;">
            归属地:
        </td>
        <td style="width:35%; text-align: left;">
            <select id="dropbcity">
                <option>-请选择归属地--</option>
                <option>上海</option>
                <option>北京</option>
                <option>苏州</option>
                <option>广州</option>
            </select>
        </td>
         <td style="width:15%; text-align: right;">
            处理地:
        </td>
        <td style="width:35%; text-align: left;">
            <select id="dropgcity">
                <option>-请选择处理地--</option>
                <option>上海</option>
                <option>北京</option>
                <option>苏州</option>
                <option>广州</option>
            </select>
        </td>
    </tr>
    <tr>
        <td style="width:15%; height:25px; text-align: right;">
            客户名称:
        </td>
        <td>
            <input id="txtcumname" />
        </td>
        <td style="width:15%; height:25px; text-align: right;">业务员名称:</td>
        <td>
            <input id="txtman" />
        </td>
    </tr>
    <tr>
        <td style="width:15%; height:25px; text-align: right;">收货日期:</td>
        <td>
            <input id="colldate" />
        </td>
        <td style="width:15%; height:25px; text-align: right;">托数:</td>
        <td>
            <input id="txtcount" />
        </td>
    </tr>
    <tr>
        <td style="width:15%; height:25px; text-align: right;">
            备注
        </td>
        <td>
            <input id="txtcjoremark"/>
        </td>
        <td>单号</td>
        <td><label id="lblupdateno"></label></td>
    </tr>
    <tr>
        <td colspan="4" style="text-align:center;">
            <input type="hidden" id="txtwrlid" value="0" />
           <a id="btnSave" href="javascript:void(0);">保存</a> &nbsp;&nbsp;&nbsp;&nbsp;
            <a id="btnCancel" href="javascript:void(0);">取消</a>
        </td>
    </tr>
    </table>

<table id="tabreord"  style="width:100%;">
    
      <tbody>
    <tr  style="text-align:center;">
        <td style="width:20%; height:25px; text-align: left; font-weight:bold;">检测单号：</td>
        <td style="width:35%; text-align: left;"><label id="lblno"></label></td>
        <td style="width:20%; height:25px; text-align: left; font-weight:bold;">Load NO：</td>
        <td style="width:35%; text-align: left;"><label id="lblload"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">归属地区：</td>
        <td style="text-align: left;"><label id="lblbcity"></label></td>
        <td style="text-align: left; font-weight:bold;">处理地区：</td>
        <td style="text-align: left;"><label id="lblgcity"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">CJO NO：</td>
        <td style="width:35%; text-align: left;"><label id="lblcjo"></label></td>
        <td style="text-align: left; font-weight:bold;">CJO备注：</td>
        <td style="width:35%; text-align: left;"><label id="lblcjoremark"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">客户名称：</td>
        <td style="width:35%; text-align: left;"><label id="lblcumname"></label></td>
        <td style="text-align: left; font-weight:bold;">业务人员：</td>
        <td style="width:35%; text-align: left;"><label id="lblman"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">收货日期：</td>
        <td style="width:35%; text-align: left;"><label id="lblcolldate"></label></td>
        <td style="text-align: left; font-weight:bold;">送检日期：</td>
        <td style="width:35%; text-align: left;"><label id="lblgodate"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">送检备注：</td>
        <td style="width:35%; text-align: left;"><input id="txtGoCheckMemo" /> </td>
        <td style="text-align: left; font-weight:bold;">来货托数：</td>
        <td style="width:35%; text-align: left;"><label id="lblcount"></label></td>
    </tr>
    <tr>
        <td style="height:25px; text-align: left; font-weight:bold;">去向部门：</td>
        <td style="width:35%; text-align: left;" colspan="3">
            <input type="radio" name="dept" id="rdoinit" />初检
            <input type="radio" name="dept" id="rdohard" />硬件
            <input type="radio" name="dept" id="rdoC" />拆解
            <input type="radio" name="dept" id="rdoSale" />销售
            <input type="hidden" id="gotype" value="0" />
        </td>
       
    </tr>
    <tr>
        <td colspan="4" style="text-align:center;">
            <input id="hidHardid" type="hidden" value="0" />
           <a onclick="gocheckSubmit()" href="javascript:void(0);">送检</a>
           &nbsp;&nbsp;&nbsp;&nbsp;
           <a onclick="cancel()" href="javascript:void(0);">返回</a>
          
        </td>
 
    </tr>
    </tbody>
    </table>
</div>


<div class="shadow4">
   
    <table id="tab" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
 
      <thead>
 
        <tr>
             <th class="style2">单号</th>
             <th>归属地</th>
             <th>处理地</th>
            <th>Load</th>
            <th>CJO</th>
            <th>客户名</th>
            <th>业务员名</th>
            <th>CJO备注</th>
            <th>收货日期</th>
            <th>送检日期</th>
            <th>托数</th>
            <th>操作</th>
        </tr>
 
      </thead>
 
      <tbody>
    
  
  <asp:Repeater ID="rept" runat="server">
  <ItemTemplate>
 
    <tr>
        <td>
           <%# Eval("hardwareno")%> 
        </td>
        <td>
            <%# Eval("bcity") %> 
        </td>
        <td>
            <%# Eval("gcity") %> 
        </td>
        <td>
            <%# Eval("loadno")%>  
        </td>
        <td>
           <%# Eval("cjono")%>  
        </td>
        <td>
            <%# Eval("cumname")%>  
        </td>
         <td>
            <%# Eval("saleman")%>  
        </td>
        <td>
            <%# Eval("cjoremark")%>  
        </td>
        <td>
            <%# Eval("wrldate")%>  
        </td>
        <td>
            <%# Eval("inspectiondate")%>  
        </td>
       
        <td>
            <%# Eval("boxcount")%>  
        </td>
        <td>
           <a onclick="gocheck(<%#Eval("id")%>)">送检</a>
           <a onclick="updaterecord(<%#Eval("id")%>)">维护</a>
        </td>

 
    </tr>
 
  </ItemTemplate>
 
  <FooterTemplate>
 
    </tbody>
 
    </table>
 
  </FooterTemplate>


    </asp:Repeater>
    </tbody>
    </table>
</div>
  
</asp:Content>
